package cn.chenyumeng.blog.entity;

/**
 * 博客和标签的中间表
 *
 * @program: blog->BlogTags
 * @description: 博客和标签的中间表
 * @author: cg
 * @create: 2020-07-26 23:08
 **/
public class BlogTag {

    /**
     * 博客Id
     */
    private Long blogId;
    /**
     * 标签Id
     */
    private Long tagId;

    public BlogTag() {
    }

    public Long getBlogId() {
        return blogId;
    }

    public void setBlogId(Long blogId) {
        this.blogId = blogId;
    }

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    @Override
    public String toString() {
        return "BlogTag{" +
                "blogId=" + blogId +
                ", tagId=" + tagId +
                '}';
    }
}
